Skip to content

feat: add Gemini native tools and conversation context controls - #87

Open
syfantasy wants to merge 1 commit into
ikechan8370:mainfrom
syfantasy:feat/gemini-native-tools
Open

feat: add Gemini native tools and conversation context controls#87
syfantasy wants to merge 1 commit into
ikechan8370:mainfrom
syfantasy:feat/gemini-native-tools

Conversation

@syfantasy

Copy link
Copy Markdown
Collaborator

修改内容

  • 在预设配置中新增“禁用对话上下文”选项。
  • 将“使用系统提示词”改名为“使用全局配置”。
  • 新增 Gemini 原生工具配置:
    • Google Search
    • Google Maps
    • 代码执行
    • 网址上下文
  • 使用 Gemini Generate Content API 原生格式发送工具配置,例如 googleSearch: {}
  • 未启用 Gemini 工具时,不改变原有请求行为。
  • 不修改 OpenAI 和 Claude 适配器。

测试

  • pnpm build 构建通过。
  • 前端生产环境构建通过。
  • 已验证预设配置的序列化与反序列化。
  • 项目中原有的 vue-tsc 类型错误与本次改动无关。

chatgpt-plugin 的对话上下文逻辑将在后续单独提交。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant